home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / RLaB / help / CONTINUATION < prev    next >
Text File  |  1994-04-25  |  755b  |  40 lines

  1. CONTINUATION:
  2.  
  3.     The continuation characters used in RLaB are `...'. This is
  4.     similar to the MATLAB v4.0 continuation. A statement can be
  5.     broken anywhwere, and continued on the next line if a
  6.     continuation (`...') is used.
  7.  
  8.     Example:
  9.  
  10.     > a = [1,2,3,...
  11.     >      4,5,6,...
  12.     >      7,8,9]
  13.      a =
  14.      matrix columns 1 thru 5
  15.                1           2           3           4           5
  16.     
  17.      matrix columns 6 thru 9
  18.                6           7           8           9
  19.  
  20.     > eye (2...
  21.     >      ,2)
  22.      matrix columns 1 thru 2
  23.             1          0  
  24.             0          1  
  25.  
  26.     Notice that:
  27.  
  28.     > 23
  29.            23
  30.  
  31.     Is not the same as:
  32.  
  33.     > 2...
  34.     > 3
  35.             2
  36.             3
  37.  
  38.     Tokens, such as variable names, numbers, commands, and
  39.     keywords can not be continued on the next line.
  40.